﻿using System.Collections.Generic;
using System.Net.Mail;

namespace Keyer.Util.mail
{
    public class UserModel
    {
        public string nickname { get; set; }
        public string password { get; set; }
        public MailAddress Send_Address { get; set; }

        public List<string> mailAddress { get; set; }

        public UserModel(string useraddr)
        {
            Send_Address = new MailAddress(useraddr);
        }
        public UserModel(string useraddr, string nickname)
        {
            this.nickname = nickname;
            Send_Address = new MailAddress(useraddr);
        }

        public UserModel(List<string> addresss)
        {
            this.mailAddress = addresss;
        }
    }
}
